<template>
  <div class="">
    <h3>我是profile</h3>
    <!-- <router-link to="/profile/params/cuifan">params传递参数</router-link>
    <router-link to="/profile/query?id=123&uname=cuifan">query传递参数</router-link> -->
    <router-link :to="{
			path:'/profile/params/'+ uname,
		}">params传递参数</router-link>
    <router-link :to="{
			path:'/profile/query/',
			query:{uname:'cuifan',age:20}
		}">query传递参数</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {

  },
  data () {
    return {
      uname: 'cuifan'
    };
  },
  computed: {

  },
  created () {
  },
  mounted () {

  },
  methods: {

  },
};
</script>

<style scoped>
</style>
